package com.xiaolv.web.mapper;

import com.xiaolv.web.model.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 订单
 */
public interface OrderMapper extends BaseMapper<Order> {

    //添加
    void add(Order data) throws Exception;

    //用户列表
    List<Order> listAll() throws Exception;
}